<% flash.each do |key, value| %>
  <div class="alert alert-danger">
    <a href="#" data-dismiss="alert" class="close">×</a>
    <%= value %>
  </div>
<% end %>